Skip to content

feat: odo instances protect/unprotect - #21

Draft
hostodo-hermes-operations[bot] wants to merge 1 commit into
mainfrom
feat/instance-protection
Draft

hostodo-hermes-operations[bot] wants to merge 1 commit into
mainfrom
feat/instance-protection

Conversation

@hostodo-hermes-operations

Copy link
Copy Markdown

odo instances protect / unprotect plus protection state in list and show.

  • Explicit UNPROTECT <id> confirmation on unprotect; the command never retries the previously blocked action.
  • Reinstall and rename fail client-side with the server error surfaced when protected.
  • Tests: cmd/instances/protection_test.go, cmd/protection_test.go, pkg/api/protection_test.go, pkg/auth/oauth_test.go, pkg/ui/protection_test.go.

Recovered from the Amp orb (thread T-01a16fe2) after its executor died; make test not re-run here. Draft, review required. Do not merge without Hassan's explicit OK.

Adds the protection field to instance list/show, protect and unprotect
commands with an explicit UNPROTECT confirmation, and blocks
reinstall/rename client-side with the server error surfaced.
@coderabbitai

coderabbitai Bot commented Oct 25, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: cf481fff-4a51-474d-baba-c7ed517fbe0e

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants